<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>徽章、标签</title>
    <link rel="stylesheet" href="../../css/bootstrap.css">
    <script src="../../js/jquery-1.11.2.min.js"></script>
    <script src="../../js/bootstrap.min.js"></script>
    <style>
        body {
            padding: 10px
        }
    </style>
</head>
<body>
<div>
<span class="label label-default">默认</span>
<span class="label label-success">成功</span>
<span class="label label-danger">危险</span>
<span class="label label-info">信息</span>
<span class="label label-primary">主要</span>
<span class="label label-warning">警告</span>
</div>
<hr>
<div>
    <button class="btn btn-primary">
        收件箱
        <span class="badge">20</span>
    </button>
    <a href="#">
        bootstrap
        <span class="badge">30</span>
    </a>
</div>
<hr>
<div class="container">
<div class="row">
    <ul class="nav nav-pills nav-stacked">
        <li><a href="#">HTMl</a></li>
        <li class="active"><a href="#">HTMl</a></li>
        <li><a href="#">HTMl
        <span class="badge">20</span>
        </a></li>
    </ul>
</div>
</div>
</body>
</html>
